package com.jsg.sl651.entity.frame.body.report;

import com.jsg.sl651.entity.frame.body.MessageBody;

public abstract class ReportMessageBody extends MessageBody {
    /**
     * @return
     * @throws Exception
     */
    @Override
    public byte[] encodeHex() throws Exception {
        throw new Exception("遥测站主动上报的消息体不支持HEX编码");
    }

    /**
     * @return
     * @throws Exception
     */
    @Override
    public byte[] encodeAscii() throws Exception {
        throw new Exception("遥测站主动上报的消息体不支持HEX编码");
    }
}
